package com.studyadmin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.studyadmin.dto.StuLearningSituation;
import com.studyadmin.dto.StuMsgSel;
import com.studyadmin.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 学生表 Mapper 接口
 * </p>
 *
 * @author lyl
 * @since 2023-03-14
 */
public interface StudentMapper extends BaseMapper<Student> {
    IPage pageCC(IPage<Student> page, @Param(Constants.WRAPPER) Wrapper wrapper);


    /**
     * 查询未读的信息
     * @param
     * @return
     */
    List<StuMsgSel> selSendMsg(String teaNum);


}
